$(document).ready(function () {
    $("#updateSource").bind("click", function () {
        var syncAll = $("#syncAll").attr("checked");
        $.ajax({
            url: $("#updateSourceUrl").val(),
            method: "POST",
            data: { fullySync: syncAll },
            success: function (e) {
            }
        });
    });



});